import java.util.Scanner;

/**
 * Version: 1.1
 * Author: TangJun
 * Date: 2024-07-10
 */
//public class Main {
//    public static void main(String[] args) {
//        System.out.println("hello");
//    }
//}


public class Main{
//    public static int max2(int a, int b){
//        return a > b ? a : b;
//    }
//    public static int max3(int a, int b, int c){
//        return max2(a, b)>c ? max2(a,b) : c;
//    }
//    public static void main(String[] args) {
//        int a = 10, b = 20, c = 15;
//        System.out.println(max3(a, b, c));
//    }
    public static int facInt(int x){
        int ret = 1;
        for (int i = 1; i <= x; i++) {
            ret *= i;
        }
        return ret;
    }

    public static int Fibo(int n){
        int ret = 1;
        int a = 1;
        int b = 1;
        for (int i = 0; i < n-2; i++) {
            ret = a + b;
            a = b;
            b = ret;
        }
        return ret;
    }
    public static int sum(int a, int b){
        return a+b;
    }

    public static void main1(String[] args) {
        //System.out.println(facInt(5));
        System.out.println(Fibo(8));//1 1 2 3 5 8 13 21
    }

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        System.out.print(str);
    }
}